#ifndef CAMERACORRECT_H
#define CAMERACORRECT_H

#include <QWidget>
#include "src/device/Camera/camerahelper.h"
#include "src/Widget/QCvDisplay.h"
#include "src/define/func_define.h"

namespace Ui {
class CameraCorrect;
}

class CameraCorrect : public QWidget
{
    Q_OBJECT

public:
    explicit CameraCorrect(QWidget *parent = 0);
    ~CameraCorrect();

    void initUIs();

private slots:
    void on_pb_Grab_clicked();

    void on_pb_Take_clicked();

    void on_pb_stop_clicked();

    void on_pb_CamImp_clicked();

    void on_hs_exp_valueChanged(int value);

    void on_hs_gain_valueChanged(int value);

    void on_pb_showGrab_clicked();

    void on_pb_close_clicked();

private:
    Ui::CameraCorrect *ui;
    QCvDisplay *display;

    Config _sys_config ;

    std::atomic<bool> camShow =  ATOMIC_FLAG_INIT;         /// 暂时未使用
};

#endif // CAMERACORRECT_H
